package com.pig4cloud.pig.module.service.mer;

import com.pig4cloud.pig.admin.api.entity.SysUser;
import com.pig4cloud.pig.common.mybatis.core.BaseService;
import com.pig4cloud.pig.common.security.service.PigUser;
import com.pig4cloud.pig.module.api.entity.mer.MerSelfVip;

/**
 * 商家的自有会员Service接口
 *
 * @author ruoyi
 * @date 2023-05-28
 */
public interface IMerSelfVipService extends BaseService<MerSelfVip> {
    /**
     *  会员充值
     * @param selfVip
     * @return
     */
    int recharge(MerSelfVip selfVip, PigUser pigUser);

    int charge(MerSelfVip selfVip, PigUser sysUser);
}
